package com.iceflame.zxingane
{
	import flash.events.Event;
	
	public class ZXingEvent extends Event
	{
		/** 解码完成  */
		public static const DECODE_COMPLETE:String = "decode_complete";
		
		
		
		private var _code:String;
		
		private var _codetype:String;
		
		public function ZXingEvent(type:String, code:String,codetype:String = CodeType.UNKNOW)
		{
			_code = code;
			_codetype = codetype;
			super(type);
		}
		
		public function get qrcCode():String{
			return _code;
		}
		
		public function get codetype():String{
			return _codetype;
		}
	}
}